package cn.entity;

import java.io.Serializable;

public class Carts  implements Serializable{
    private Integer id;

    private Integer uid;

    private Integer gid;
    
    private Goods goods;
    
    
    public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	private Integer quantity;

    private Double price;

    public Carts(Integer id, Integer uid, Integer gid, Integer quantity, Double price) {
        this.id = id;
        this.uid = uid;
        this.gid = gid;
        this.quantity = quantity;
        this.price = price;
    }

    public Carts() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}